package org.example.user.projects.web.dto;

/**
 * write something please~
 *
 * @author huangrz
 * @since 2021/3/3
 **/
public class BaseDTO {

    private boolean success = false;

    private Object result;

    private String message;

    public BaseDTO(boolean success, Object result, String message) {
        this.success = success;
        this.result = result;
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
